home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / RAVE DDK 1.0.6 GM for MacOS / Projects / Empty Engine Code / TtGouraud.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-30  |  1.3 KB  |  36 lines  |  [TEXT/MPCC]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        TtGouraud.c                                                 **
  4.  **                                                                          **
  5.  **     Purpose:     Empty rasterizer drawing engine.                         **
  6.  **                 Methods for drawing Gouraud-shaded triangles.             **
  7.  **                                                                          **
  8.  **     Author:        Mike W. Kelley                                             **
  9.  **                                                                          **
  10.  **                    2/3/95    Revised for 0.9 SDK release                         **
  11.  **                                                                          **
  12.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  13.  **     Apple Computer Confidential                                             **
  14.  **                                                                          **
  15.  *****************************************************************************/
  16.  
  17. #include "Drive3D.h"
  18. #include "Drive3D_system.h"
  19. #include "TtTinselTown.h"
  20.  
  21. /************************************************************************************************
  22.  * Draw a Gouraud-shaded triangle.
  23.  ***********************************************************************************************/
  24.  
  25. void TtDrawTriGouraud (
  26.     const TQADrawContext    *drawContext,        /* Draw context */
  27.     const TQAVGouraud     *v0,                /* Vertex 0 */
  28.     const TQAVGouraud     *v1,                /* Vertex 1 */
  29.     const TQAVGouraud     *v2,                /* Vertex 2 */
  30.     unsigned long        flags)                /* Flags */
  31. {
  32.     TTtDrawPrivate        *myPrivate;
  33.     
  34.     myPrivate = (TTtDrawPrivate *) drawContext->drawPrivate;
  35. }
  36.